setStream

@NonNull
open fun setStream(@Nullable streamUri: @Nullable Uri): @NonNull ShareCompat.IntentBuilder(source)

Set a stream URI to the data that should be shared.

This replaces all currently set stream URIs and will produce a single-stream ACTION_SEND intent.

Return

This IntentBuilder for method chaining

Parameters

streamUri

URI of the stream to share

See also